import { get } from '../../http'

// 获取数据字典 参数const parentIds = '1,2,3....'
export function getDictData (parentIds) {
  const url = process.env.VUE_APP_CDHNTECH_API + '/dicts/getByParentIds'
  return get(url, { parentIds: parentIds })
}
// 获取省市区
export function getTegionInfo (parentIds) {
  const url = process.env.VUE_APP_CDHNTECH_API + '/dicts/getTegionInfo'
  return get(url, { parentIds: parentIds })
}
// 获取省市区乡镇信息
export function getInfo (parentIds) {
  const url = process.env.VUE_APP_CDHNTECH_API + '/dicts/getInfo'
  return get(url, { parentIds: parentIds })
}
